package com.runchinaup.download.okhttp;

public class NetResult<D> {


    private int eeorCode = -1;
    private String msg = "";
    private D data;


    public int getEeorCode() {
        return eeorCode;
    }

    public void setEeorCode(int eeorCode) {
        this.eeorCode = eeorCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public D getData() {
        return data;
    }

    public void setData(D data) {
        this.data = data;
    }


    @Override
    public String toString() {
        return "NetResult{" +
                "eeorCode=" + eeorCode +
                ", msg='" + msg + '\'' +
                ", data=" + data +
                '}';
    }
}
